package com.erp.erp_servers.Account;

import com.erp.erp_entitys.Account.AccountEntity;
import com.erp.erp_entitys.Account.AccountExample;

import java.util.List;

/**
 * @ClassName IAccountService
 * @Description 帐号服务接口类
 * @Author songjizhen
 * @Date 2020/6/23 12:02
 * @Version 1.0
 */
public interface IAccountService {
    /**
     * 获取帐号信息
     * @param
     * @return
     */
    AccountEntity selectAccountByCodeandPasswd(String code,String password);
    /**
     * 更新帐号信息
     * @param accountEntity
     * @return
     */
    int updateAccount(AccountEntity accountEntity);

    /**
     * 获取帐号信息
     * @param accountEntity
     * @return
     */
    List<AccountEntity> selectByExample(AccountEntity accountEntity);

    /**
     * 获取账号信息
     * @param account 账号查询实体
     * @return 账号信息
     */
    List<AccountEntity> getAccountList(AccountEntity account);
}
